const http = uni.$u.http

export default {
	list: function(data) {
		http.get('/conversational/list', data).then(res => {
			uni.$u.vuex('vuex_conversational_list', res);
		});
	},
	listUnreadCount: function() {
		http.get('/conversational/listUnreadCount').then(res => {
			uni.$u.vuex('vuex_conversational_unreadcount_list', res);
		});
	}
}
